package com.wenjie.hotelsys.dao;

import java.util.List;

import com.wenjie.hotelsys.domain.Room;
import com.wenjie.hotelsys.service.RoomQueryHelper;

public interface RoomDao {
	void add(Room room);
	List<Room> loadall();
	Room getRoomById(Integer roomNo);
	void delete(Integer roomId);
	void update(Room room);
	List<Room> loadRooms(RoomQueryHelper helper);
    int cntRooms(RoomQueryHelper helper);
    List<Room> getScopedRooms(RoomQueryHelper helper, int begin, int end);
}
